package main

import (
	"fmt"
	"io/ioutil"
)

func main() {
	data, err := ioutil.ReadFile("D:\\Go\\Gop\\chapter02\\file\\test1.txt")
	fmt.Println(data, err)
	if err != nil {
		fmt.Println("error")
		return
	}
	fmt.Println(string(data))
}
